package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.response.QueryBusLineNearbyRes;
import sz.szsmk.citizencard.model.network.bean.response.QueryNearStandbyRes;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/5/22 15:42
 * description:
 */
public interface IBusHistoryContact {

    interface IBusHistoryPresenter<T extends IBaseContact.IBaseView>
            extends IBaseContact.IBasePresenter {

        void queryBusStandByKey(String inputKey);

        void queryLineByLineName(String inputKey);
    }

    interface IBusHistoryView extends IBaseContact.IBaseView {

        // 获得数据失败
        void queryBusStandByKeySucc(QueryNearStandbyRes response);

        void queryBusStandByKeyFail(QueryNearStandbyRes response);

        void queryLineByLineNameSucc(QueryBusLineNearbyRes response);

        void queryLineByLineNameFail(QueryBusLineNearbyRes response);
    }


}
